Skip to main content

REMOVE_HERO

[[REMOVE_HERO]]

This action removes the current hero from the board. It can be used to create customized endings to the adventure.

  • Example: {[[(G), ON_STEP:REPEAT(P8)]] as soon as you step in front of the throne, you are dragged towards the portal.[[REMOVE_HERO]]}
In this example, when a hero steps on any cell marked with the G marker, the message will be displayed and the hero will be removed from the board.

NOTE: To display a message that the quest is finished when all heroes are removed from the board, remember to add an ON_END_ALLHEROES event.